package com.yq.backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yq.backend.dto.CardGameDto;
import com.yq.backend.pojo.CardGame;

import java.util.List;

public interface CardGameMapper extends BaseMapper<CardGame> {

    long getCardGamesCount(CardGameDto cardGameDto);

    List<CardGame> getCardGames(CardGameDto cardGameDto, int pageNow, int pageSize);
}
